package com.bjpowernode.boss.common.utils;

import com.auth0.jwt.exceptions.JWTDecodeException;
import com.baomidou.mybatisplus.core.toolkit.IdWorker;

/**
 * @author Mrs.cui
 * 2024-07-10-17-04
 */
public class NoUtil {

    //表的主键，使用UUID
    public static String getUUID(){
        return IdWorker.get32UUID();
    }

    public static String getUserNo(){
        //IdWorker.getId() ：雪花算法生成id值
        return "8"+ IdWorker.getId();
    }

    public static String getAccountNo(){
        return "9"+IdWorker.getId();
    }
}
